﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Truck_send.aspx.cs" Inherits="Truck_send" %>

<%@ Register Src="left1.ascx" TagName="left1" TagPrefix="uc4" %>

<%@ Register Src="validate.ascx" TagName="validate" TagPrefix="uc3" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="foot.ascx" TagName="foot" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>www.swc315.com-发布车源信息</title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top:0px; margin-bottom: 0px;">
    <TABLE WIDTH=770 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0 class=css>
        <form id="form1" runat="server">
	<TR align="center"  >
		<TD WIDTH=770 height="38" COLSPAN=3  class="css" valign="top"> 
            <uc1:head ID="Head2" runat="server" />
</TD>
  </TR>
	<TR>
		<TD ROWSPAN=2 valign=top style="background-image: url(images/default_3.gif)">
            <uc4:left1 ID="Left1_1" runat="server" />
      </TD>
		<TD COLSPAN=2 style="height: 3px">			
            <asp:Image ID="Image1" runat="server" ImageUrl="images/default_4.gif" /></TD>
	</TR>
	<TR>
	  <TD COLSPAN=2 valign="top" style="width:571px;height: 635px">
            <br />
            <br />
            <br />
            <br />
            <table width="463" border="1" align="center" cellspacing="0" bordercolor="#ADBDCE" style="height: 484px">
              <tr align="center">
                <td colspan="2" style="height: 35px">发布车源信息</td>
              </tr>
              <tr>
                <td width="131"  align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TruckType"
                        ErrorMessage="车辆型号不能为空">*</asp:RequiredFieldValidator>车辆型号：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="TruckType" runat="server"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right">
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TruckNumber"
                        ErrorMessage="车辆牌照不能为空">*</asp:RequiredFieldValidator>车辆牌照：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="TruckNumber" runat="server"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right">
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="TruckWeight"
                        Display="Dynamic" ErrorMessage="最大载重必须是数字" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TruckWeight"
                        ErrorMessage="最大载重不能为空" Display="Dynamic">*</asp:RequiredFieldValidator>最大载重：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="TruckWeight" runat="server"></asp:TextBox>吨</td>
              </tr>
              <tr>
                <td align="right">
<%--                    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="TruckPrice"
                        ErrorMessage="运输价格必须是数字" Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TruckPrice"
                        ErrorMessage="运输价格不能为空">*</asp:RequiredFieldValidator>--%>运输价格：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="TruckPrice" runat="server"></asp:TextBox>元</td>
              </tr>
              <tr>
                <td align="right" style="height: 30px">
                    <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToValidate="TruckDate"
                        Display="Dynamic" ErrorMessage="发车时间格式不正确" Operator="DataTypeCheck" Type="Date">*</asp:CompareValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TruckDate"
                        ErrorMessage="发车时间不能为空">*</asp:RequiredFieldValidator>发车时间：</td>
                <td style="width: 326px; height: 30px">&nbsp;<asp:TextBox ID="TruckDate" runat="server"></asp:TextBox>例如：2006-1-1</td>
              </tr>
              <tr>
                <td align="right" style="height: 37px">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Start"
                        ErrorMessage="出发地点不能为空">*</asp:RequiredFieldValidator>出发地点：</td>
                <td style="height: 37px; width: 326px;">&nbsp;<asp:TextBox ID="Start" runat="server" Width="240px"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Whither"
                        ErrorMessage="到达地点不能为空">*</asp:RequiredFieldValidator>到达地点：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="Whither" runat="server" Width="240px"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right">
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Linkman"
                        ErrorMessage="联系人不能为空">*</asp:RequiredFieldValidator>联系人：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="Linkman" runat="server" Width="114px"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right">
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="Tel" ErrorMessage="联系电话必须是数字"
                        MaximumValue="99999999999" MinimumValue="00000000000">*</asp:RangeValidator>&nbsp;
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="Tel"
                        ErrorMessage="联系电话不能为空" Display="Dynamic">*</asp:RequiredFieldValidator>联系电话：</td>
                <td style="width: 326px">&nbsp;<asp:TextBox ID="Tel" runat="server"></asp:TextBox></td>
              </tr>
              <tr>
                <td align="right" style="height: 91px">车源描述：</td>
                <td style="height: 91px; width: 326px;">&nbsp;<asp:TextBox ID="Bewrite" runat="server" Height="86px" TextMode="MultiLine"
                        Width="308px">无</asp:TextBox></td>
              </tr>
              <tr>
                <td colspan="2" style="height: 40px; text-align: center">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                        ShowSummary="False" />
                    &nbsp;<asp:Button ID="Button1" runat="server" Text="　发布　" OnClick="Button1_Click" />
                    <input id="Reset1" type="reset" value="　重置　" /></td>
              </tr>
            </table>
          <uc3:validate ID="Validate1" runat="server" />
		</TD>
	</TR>

	<TR>
		<TD COLSPAN=3 style="height: 45px">
            <uc2:foot ID="Foot1" runat="server" />
        </TD>
	</TR>
	   </form>
</TABLE>

</body>
</html>
